MAKE MEMORY

This command will create an area of memory of the given size in bytes.

  Syntax
Return DWORD=MAKE MEMORY(Size In Bytes)
  Parameters
Size In Bytes
Integer
This value is an integer number such as 1.

  Returns

This value is a positive number between 0 and 4294967295.

  Description

You can use dynamically created areas of memory to store any type of data using the indirection symbol. Simply place a * before the variable holding the address of the memory block to write into the first byte position. Adding to the value representing the address will move you through the memory block allowing both reading and writing to the memory. This command will return the address of the first byte of this newly created memory block.

  Example Code
src as DWORD
src=MAKE MEMORY(1024)
FILL MEMORY src,1024,0
WAIT KEY
  See also

CORE Commands Menu
Index